#-*-encoding=utf-8-*-
name=u"""propertysheet"""
title=u"""property sheet"""
description=u"""default property sheet"""
fields=(
    GrowingTableField(
        description=u'This table contain section name and section employee',
        title=u'Section Table',
        validation_exp=u'',
        write_condition=u'',
        default_value_exp=u'[]',
        name=u'sections'
,
fields=[
    TextLineField(
        description=u'Department Name',
        title=u'Section Name',
        validation_exp=u'',
        write_condition=u'',
        size=10,
        default_value_exp=u'""',
        name=u'sec_name'
),
    PersonSelectField(
        description=u'Section manager',
        title=u'Manager',
        validation_exp=u'',
        multiple_selection=False,
        selectable_object='persononly',
        write_condition=u'',
        default_value_exp=u'None',
        name=u'manager'
),
    PersonSelectField(
        description=u'Employees',
        title=u'Employees',
        validation_exp=u'',
        multiple_selection=True,
        selectable_object='persononly',
        write_condition=u'',
        default_value_exp=u'None',
        name=u'employees'
),
    SingleSelectField(
        description=u'Section sheet status',
        title=u'Status',
        validation_exp=u'',
        vocabulary_exp=u"[('Initial','Initial'),('Confirmed','Confirmed'), ('Reject','Reject')]",
        limit=0,
        write_condition=u'',
        default_value_exp=u'""',
        name=u'status'
)
]
)
,
    PersonSelectField(
        description=u'Gerneral manager',
        title=u'Gerneral manager',
        validation_exp=u'',
        multiple_selection=False,
        selectable_object='persononly',
        write_condition=u'',
        default_value_exp=u'None',
        name=u'general_manager'
),
    PersonSelectField(
        description=u'Person who can check all timesheet',
        title=u'Viewers',
        validation_exp=u'',
        multiple_selection=True,
        selectable_object='persononly',
        write_condition=u'',
        default_value_exp=u'None',
        name=u'viewers'
),
    LinesField(
        description=u"''",
        title=u'Project categories',
        validation_exp=u'',
        write_condition=u'',
        default_value_exp=u'[]',
        name=u'project_categories'
),
    LinesField(
        description=u'Others item categories',
        title=u'Others',
        validation_exp=u'',
        write_condition=u'',
        default_value_exp=u'[]',
        name=u'others'
),
    TextLineField(
        description=u'Timesheet of month',
        title=u'Month',
        validation_exp=u'',
        write_condition=u'',
        size=20,
        default_value_exp=u'""',
        name=u'month'
),
    SingleSelectField(
        description=u'General manager status',
        title=u'Final status',
        validation_exp=u'',
        vocabulary_exp=u"[('Initial','Initial'),('Confirmed','Confirmed')]",
        limit=0,
        write_condition=u'',
        default_value_exp=u'""',
        name=u'status'
),
    PersonSelectField(
        description='',
        title=u'Financial Persons',
        validation_exp=u'',
        multiple_selection=True,
        selectable_object='persononly',
        write_condition=u'',
        default_value_exp=u'None',
        name=u'financials'
),
    SingleSelectField(
        description='',
        title=u'Financials status',
        validation_exp=u'',
        vocabulary_exp=u"[(u'Unsubmitted',u'Unsubmitted'), (u'Submitted',u'Submitted')]",
        limit=1,
        write_condition=u'',
        default_value_exp=u'""',
        name=u'financials_status'
),)

fields_validation_script=ur""""""
